<template>
	<view class="container">
		<u-toast ref="uToast" />
		<u-navbar :is-back="true" title="去处理" back-icon-color='#333333' height="50" :border-bottom="false">
		</u-navbar>
		<view class="list">
			<view class="designation">
				<text>教师名称</text>
				<text>王老师</text>
			</view>
			<view class="position">
				<text>教师职位</text>
				<text>初级老师</text>
			</view>
			<view class="leave_time">
				<text>请假时间</text>
				<text>2020.09.09</text>
				<text>12:00:00</text>
			</view>
			<view class="vacate">
				<text>请假时长</text>
				<text>半天</text>
			</view>
			<view class="leave_reason">
				<text>请假原因</text>
				<text>明日开会,没人需要带上纸笔,望各位老师遵守时间不要迟到</text>
			</view>
			<view class="handing">
				<text class="results">处理结果</text>
				<view class="approval">
					<text>已通过</text>
				</view>
			</view>
			<view class="remarks">
				<text>处理备注</text>
			</view>
			<view class=""
				style="width:710rpx; height:15rpx; margin-left:20rpx; background:#F2F2F2; border-top-left-radius:12rpx; border-top-right-radius:12rpx;">

			</view>
			<textarea value="" v-model="input_content" placeholder="单行输入"
				style="width:710rpx; height:160rpx; margin-left:20rpx; background:#F2F2F2; text-indent:1em; border-bottom-left-radius:12rpx; border-bottom-right-radius:12rpx;" />
			<view class="" style="width:100%; height:25rpx;">
			</view>
		</view>
		<view class="confirm">
			<view class="verify" @click="$toLink('../approval_flow/approval_flow',{id:0})">
				{{verify}}
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				input_content: '',
				verify: '确认'
			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.container {
		width: 100%;
		overflow: hidden;
		background: #F2F2F2;
		height: 100vh;

		.list {
			width: 100%;
			margin-top: 20rpx;
			background: #fff;

			.designation {
				width: 710rpx;
				margin-left: 20rpx;
				height: 60rpx;
				display: flex;
				justify-content: flex-start;

				text {
					margin-top: 25rpx;
					font-size: 26rpx;

					&:nth-child(1) {
						color: #666666;
						width: 150rpx;
					}

					&:nth-child(2) {
						color: #333333;
					}
				}
			}

			.position {
				width: 710rpx;
				margin-left: 20rpx;
				height: 60rpx;
				display: flex;
				justify-content: flex-start;

				text {
					margin-top: 25rpx;
					font-size: 26rpx;

					&:nth-child(1) {
						color: #666666;
						width: 150rpx;
					}

					&:nth-child(2) {
						color: #333333;
					}
				}
			}

			.leave_time {
				width: 710rpx;
				margin-left: 20rpx;
				height: 60rpx;
				display: flex;
				justify-content: flex-start;

				text {
					margin-top: 25rpx;
					font-size: 26rpx;

					&:nth-child(1) {
						color: #666666;
						width: 150rpx;
					}

					&:nth-child(2) {
						color: #333333;
						width: 150rpx;

					}

					&:nth-child(3) {
						color: #333333;
					}
				}
			}

			.vacate {
				width: 710rpx;
				margin-left: 20rpx;
				height: 60rpx;
				display: flex;
				justify-content: flex-start;

				text {
					margin-top: 25rpx;
					font-size: 26rpx;

					&:nth-child(1) {
						color: #666666;
						width: 150rpx;
					}

					&:nth-child(2) {
						color: #333333;
					}
				}
			}

			.leave_reason {
				width: 710rpx;
				margin-left: 20rpx;
				height: 120rpx;
				display: flex;
				justify-content: flex-start;
				border-bottom: 1px solid #F2F2F2;


				text {
					margin-top: 25rpx;
					font-size: 26rpx;

					&:nth-child(1) {
						color: #666666;
						width: 150rpx;
					}

					&:nth-child(2) {
						color: #333333;
					}
				}
			}

			.handing {
				width: 710rpx;
				margin-left: 20rpx;
				height: 100rpx;
				align-items: center;
				display: flex;
				justify-content: flex-start;

				.results {
					width: 150rpx;
					color: #666666;
					font-size: 26rpx;
				}

				.approval {
					width: 100rpx;
					display: flex;
					align-items: center;
					justify-content: center;
					border-radius: 9rpx;
					font-size: 20rpx;
					color: #fff;
					height: 40rpx;
					background: #2E98FA;
				}


			}

			.remarks {
				width: 710rpx;
				margin-left: 20rpx;
				height: 50rpx;
				display: flex;
				justify-content: flex-start;

				text {
					font-size: 26rpx;
					color: #666666;
					width: 150rpx;
				}
			}
		}

		.confirm {
			width: 100%;
			height: 500rpx;
			display: flex;
			justify-content: center;
			align-items: center;

			.verify {
				width: 200rpx;
				height: 60rpx;
				border-radius: 50rpx;
				text-align: center;
				line-height: 60rpx;
				background: linear-gradient(to right, #2C78FE, #32B0FF);
				color: #fff;
				font-size: 30rpx;
			}
		}
	}
</style>
